<template>
  <div>
    <h1>登录页面</h1>
    <el-button type="primary" @click="submit">提交</el-button>
  </div>
</template>

<script>
export default {
  name: 'login',
  data() {
    return {}
  },
  methods: {
    submit() {
      this.$router.push('/home')
    }
  }
}
</script>

<style>
</style>